﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace jstreeMVCWrapper.Models
{
	public class TreeModel
	{
		public IEnumerable<Node> TreeNodes { get; set; }
	}

	public class Node
	{
		public int NodeID { get; set; }
		public string NodeName { get; set; }
		public eNodeType NodeType { get; set; }
		public IEnumerable<Node> Childern { get; set; }
	}

	public enum eNodeType
	{
		Root,
		Folder,
		File
	}

}